
package com.hlkj.pay.infrastructure.model.order;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 商户转账订单
 * 
 * @TableName t_order_transfer
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("t_order_transfer")
public class OrderTransferDO extends OrderBaseDO {

    /**
     * 通道订单编号
     */
    @Schema(description = "通道订单编号")
    private String channelOrderNo;

    /**
     * 特定支付方式额外参数
     */
    @Schema(description = "特定支付方式额外参数")
    private String extra;

    /**
     * 状态 2 执行中 3 执行完成 4 执行失败
     */
    @Schema(description = "状态  2 执行中 3 执行完成 4 执行失败")
    private Integer status;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;

    /**
     * 备注
     */
    @Schema(description = "消息提示")
    private String message;

    @Schema(description = "成功时间")
    private Long successTime;

    /**
     * 金额
     */
    @Schema(description = "金额")
    private BigDecimal amount;

    /**
     * 0:收款方付款;1:付款方付费
     */
    @Schema(description = "0:收款方付款;1:付款方付费")
    private Integer feePayer;

    /**
     * 收款方user_id
     */
    @Schema(description = "收款方user_id")
    private String inUserId;
    /**
     * 收款方user_id
     */
    @Schema(description = "收款方user_id")
    private String outUserId;

    /**
     * 商户通道id
     */
    @Schema(description = "入账商户通道code")
    private String inMchChannelCode;

}
